package vn.appsmobi.ui;

import vn.appsmobi.model.HomeInfo;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ImageView;
import android.widget.TextView;

public class HomeListItem extends BaseListItem<HomeInfo>
{
  private TextView mHomeName;
  private ImageView mHomePhoto;

  public HomeListItem(Context context, AttributeSet attr)
  {
    super(context, attr);
  }

  public void bind(HomeInfo homeInfo)
  {
    this.mHomeName.setText(homeInfo.getName());
  //  ImageLoader.getInstance().loadImage(this.mCategoryPhoto, categoryInfo.getPhoto(), 2130837549);
  }

  protected void onFinishInflate()
  {
    super.onFinishInflate();
    //this.mCategoryPhoto = ((ImageView)findViewById(2131492928));
    //this.mHomeName = ((TextView)findViewById(R.id.home_name));
  }
}
